package code;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaovcloud
 * @since 2021/8/21 下午8:09
 */
public class ITest {
	static int i = 0;
	public static void main(String[] args) {
		for (int x = 0; x < 100; x++) {
			int finalX = x;
			new Thread(() -> {
				for (int j = 0; j < 100; j++) {
					i++;
				}
				System.out.println("Thread"+ finalX +"=》"+i);
			}).start();
		}
	}
}
